#gallery img {
	-moz-background-clip:border;
	-moz-background-inline-policy:continuous;
	-moz-background-origin:padding;
	background:white none repeat scroll 0 0;
	border:1px solid #CCCCCC;
	padding:6px;
}

#gallery .on {
	border:1px solid #666666;
}

#gallery .photo{
	height: 100px;
	width: 100px;
	float:left;
	text-align: center;
	vertical-align: middle;
	margin: 1px;
}